package com.fengmi.goods.service;

import com.fengmi.goods.entity.MallGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fengmi.goods.vo.HotGoodsVo;
import com.fengmi.vo.ResultVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhuxm
 * @since 2022-03-02
 */
public interface IMallGoodsService extends IService<MallGoods> {



    public List<HotGoodsVo> findHotGoods();



    //查询所有审核通过的商品信息（同步到索引库）
    public List<MallGoods> findGoodsHasAuditedForEs();



    //审核商品
    public ResultVO auditGoods(String spuId);



    //获取商品静态化相关数据
    public MallGoods findGoodsForHTML(String spuId);














}
